﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.master"
    CodeBehind="Search_Manager_Factory.aspx.cs" Inherits="IMIS_ERP.Web.Order_Info.Search_Manager_Factory" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../Styles/order.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    .chart{width:500px;margin: auto;padding-top:20px}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="body_top">
        <img src="../images/tab_t_l.gif" alt="" />
        <span class="f1">您当前的位置</span>：【加工中心管理】-【订单数量查询-单个】
    </div>
    <div class="body_main">
        <div class="line1">
            <div class="lineLeft">
                加工中心ID：</div>
            <div class="lineRight">
                <asp:DropDownList ID="ddlFID" runat="server">
                </asp:DropDownList>
            </div>
        </div> 
        <%--<div class="line2">
            <div class="lineLeft">
                类型：</div>
            <div class="lineRight">
                <asp:DropDownList ID="ddlType" runat="server">
                    <asp:ListItem Value="0">操作状态</asp:ListItem>
                    <asp:ListItem Value="1">接单状态</asp:ListItem>
                </asp:DropDownList>
            </div>
        </div>--%>
        <div class="line2">
            <div class="lineLeft">
                开始时间：</div>
            <div class="lineRight">
                <asp:TextBox ID="txthTime1" runat="server" Width="150px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfv1" runat="server" ErrorMessage="开始日期不能为空" ForeColor="Red"
                    ControlToValidate="txthTime1"></asp:RequiredFieldValidator>
                <asp:CalendarExtender ID="cde1" Format="yyyy-MM-dd" TargetControlID="txthTime1" runat="server">
                </asp:CalendarExtender>
            </div>
        </div>
        <div class="line1">
            <div class="lineLeft">
                截止时间：</div>
            <div class="lineRight">
                <asp:TextBox ID="txthTime2" runat="server" Width="150px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfv2" runat="server" ErrorMessage="结束日期不能为空" ForeColor="Red"
                    ControlToValidate="txthTime2"></asp:RequiredFieldValidator>
                <asp:CalendarExtender ID="cde2" Format="yyyy-MM-dd" TargetControlID="txthTime2" runat="server">
                </asp:CalendarExtender>
            </div>
        </div>
        <div id="bottom">
            <asp:Label ID="lblMessage" runat="server" CssClass="msg"></asp:Label><br />
            <asp:Button ID="btnSave" runat="server" Text="查询" OnClick="btnSave_Click" CssClass="btn">
            </asp:Button>
        </div>
        <asp:GridView ID="GV" CssClass="GV" runat="server" CellPadding="3" AutoGenerateColumns="False"
            DataKeyNames="oiFiID" OnRowCreated="GV_RowCreated" EmptyDataText="没有相关数据">
            <Columns>
                <asp:BoundField DataField="oiFiID" HeaderText="加工中心ID" />
                <asp:BoundField DataField="TaskSum" HeaderText="接单数量" />
                <asp:BoundField DataField="DoneSum" HeaderText="完成数量" />
                <asp:BoundField DataField="HandSum" HeaderText="交付数量" />
                <asp:BoundField DataField="InstallSum" HeaderText="已安装数量" />
            </Columns>
            <RowStyle CssClass="gv_row" />
            <SelectedRowStyle CssClass="gv_sel" />
            <PagerStyle CssClass="gv_pag" />
            <HeaderStyle CssClass="gv_hea" />
            <AlternatingRowStyle CssClass="gv_alt" />
            <FooterStyle CssClass="gv_foo" />
        </asp:GridView>
        <div class="chart">
            <asp:Chart ID="Chart1" runat="server" Height="400px" Width="500px" 
                BackImageAlignment="Center">
                <Series>
                    <asp:Series Name="Series1" ChartType="Column" ChartArea="ChartArea1">
                    </asp:Series>
                </Series>
                <ChartAreas>
                    <asp:ChartArea Name="ChartArea1">
                    </asp:ChartArea>
                </ChartAreas>
            </asp:Chart>
        </div>
    </div>
</asp:Content>
